package com.news.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("sys_gather")
public class Gather {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;/* 主键 */
	
	@TableField("url")
	private String url;//地址
	
	@TableField("charset")
	private String charset;//编码
	
	@TableField("prefix")
	private String prefix;//链接
	
	@TableField("title_mark")
	private Integer titleMark;//1 title  2tagName 3 class 
	
	@TableField("title_regex")
	private String titleRegex;//标签的名字
	
	@TableField("content_mark")
	private Integer contentMark;//1 id 2tagName 3 class 
	
	@TableField("content_regex")
	private String contentRegex;
	
	@TableField("img_mark")
	private Integer imgMark;//1 id 2tagName 3 class 
	
	@TableField("img_regex")
	private String imgRegex;
	
	@TableField("create_time")
	private String createTime;
	
}
